package com.es.hotel.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.es.hotel.pojo.Hotel;
import com.es.hotel.query.PageResult;
import com.es.hotel.query.RequestParams;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;
import java.util.Map;


public interface IHotelService extends IService<Hotel> {
    PageResult search(RequestParams params);


    Map<String, List<String>> agg(RequestParams params);

    List<String> getSuggestion(String key);
}
